﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace JNPF.Basics.Models
{
    /// <summary>
    /// 日程安排
    /// 版 本：V3.0.0
    /// 版 权：引迈信息技术有限公司（https://www.jnpfsoft.com）
    /// 作 者：JNPF开发平台组
    /// 日 期：2017.11.29 
    /// </summary>
    [Table("EXT_SCHEDULE")]
    public class ScheduleEntity
    {
        /// <summary>
        /// 自然主键
        /// </summary>
        [Key]
        [Column("F_ID")]
        public string Id { get; set; }
        /// <summary>
        /// 日程标题
        /// </summary>
        [Column("F_TITLE")]
        public string Title { get; set; }
        /// <summary>
        /// 日程内容
        /// </summary>
        [Column("F_CONTENT")]
        public string Content { get; set; }
        /// <summary>
        /// 日程颜色
        /// </summary>
        [Column("F_COLOUR")]
        public string Colour { get; set; }
        /// <summary>
        /// 颜色样式
        /// </summary>
        [Column("F_COLOURCSS")]
        public string ColourCss { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        [Column("F_STARTTIME")]
        public DateTime? StartTime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        [Column("F_ENDTIME")]
        public DateTime? EndTime { get; set; }
        /// <summary>
        /// 提醒设置
        /// </summary>
        [Column("F_EARLY")]
        public int? Early { get; set; }
        /// <summary>
        /// APP提醒
        /// </summary>
        [Column("F_MAILALERT")]
        public int? MailAlert { get; set; }
        /// <summary>
        /// 邮件提醒
        /// </summary>
        [Column("F_APPALERT")]
        public int? AppAlert { get; set; }
        /// <summary>
        /// 微信提醒
        /// </summary>
        [Column("F_WECHATALERT")]
        public int? WeChatAlert { get; set; }
        /// <summary>
        /// 短信提醒
        /// </summary>
        [Column("F_MOBILEALERT")]
        public int? MobileAlert { get; set; }
        /// <summary>
        /// 系统提醒
        /// </summary>
        [Column("F_SYSTEMALERT")]
        public int? SystemAlert { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        [Column("F_DESCRIPTION")]
        public string Description { get; set; }
        /// <summary>
        /// 排序码
        /// </summary>
        [Column("F_SORTCODE")]
        public long? SortCode { get; set; }
        /// <summary>
        /// 有效标志
        /// </summary>
        [Column("F_ENABLEDMARK")]
        public int? EnabledMark { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        [Column("F_CREATORTIME")]
        public DateTime? CreatorTime { get; set; }
        /// <summary>
        /// 创建用户
        /// </summary>
        [Column("F_CREATORUSERID")]
        public string CreatorUserId { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        [Column("F_LASTMODIFYTIME")]
        public DateTime? LastModifyTime { get; set; }
        /// <summary>
        /// 修改用户
        /// </summary>
        [Column("F_LASTMODIFYUSERID")]
        public string LastModifyUserId { get; set; }
        /// <summary>
        /// 删除标志
        /// </summary>
        [Column("F_DELETEMARK")]
        public int? DeleteMark { get; set; }
        /// <summary>
        /// 删除时间
        /// </summary>
        [Column("F_DELETETIME")]
        public DateTime? DeleteTime { get; set; }
        /// <summary>
        /// 删除用户
        /// </summary>
        [Column("F_DELETEUSERID")]
        public string DeleteUserId { get; set; }
    }
}
